﻿<%@ include file="/WEB-INF/jspf/start.jspf" %>
<%@page import="java.util.*" %>
<%@page import="java.text.*" %>
<html lang="en">
    <head>
        <%@ include file="/WEB-INF/jspf/meta.jspf" %>
        <title>有来有趣--发现自己</title>
        <%@ include file="/WEB-INF/jspf/css.jspf" %>
    </head>
    <body>
        <jsp:include page="/WEB-INF/jspf/menu.jsp">
            <jsp:param name="current" value="home" />
        </jsp:include>
        <div class="container theme-showcase" role="main">
            <%@ include file="/WEB-INF/jspf/jumbotron.jspf" %>
            <%
                DateFormat dateFormat = DateFormat.getDateTimeInstance(DateFormat.LONG, DateFormat.LONG, Locale.US);
            %>
            <p>Host IP: <c:out value="${pageContext.request.localAddr}" /></p>
            <!--<p>Host IP: <%=request.getLocalAddr()%> </p>-->
            <p>Today: <%=dateFormat.format(new Date())%></p>
			<jsp:useBean id="now" class="java.util.Date" />
			<p><fmt:formatDate value="${now}" pattern="MMMM d, yyyy, H:mm:ss"/></p>
        </div>
        <%@ include file="/WEB-INF/jspf/js.jspf" %>
    </body>
</html>